<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Class template time_zone_names_base</title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
<link rel="up" href="../../date_time/doxy.html#doxygen.date_time_reference.time__zone__names_8hpp" title="Header &lt;boost/date_time/time_zone_names.hpp&gt;">
<link rel="prev" href="structboost_1_1date__time_1_1default__zone__names.html" title="Struct template default_zone_names">
<link rel="next" href="classboost_1_1date__time_1_1bad__field__count.html" title="Class bad_field_count">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
<td align="center"><a href="../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="structboost_1_1date__time_1_1default__zone__names.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../date_time/doxy.html#doxygen.date_time_reference.time__zone__names_8hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="classboost_1_1date__time_1_1bad__field__count.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="doxygen.date_time_reference.classboost_1_1date__time_1_1time__zone__names__base"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Class template time_zone_names_base</span></h2>
<p>boost::date_time::time_zone_names_base — Base type that holds various string names for timezone output. </p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../date_time/doxy.html#doxygen.date_time_reference.time__zone__names_8hpp" title="Header &lt;boost/date_time/time_zone_names.hpp&gt;">boost/date_time/time_zone_names.hpp</a>&gt;

</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> CharT<span class="special">&gt;</span> 
<span class="keyword">class</span> <a class="link" href="classboost_1_1date__time_1_1time__zone__names__base.html" title="Class template time_zone_names_base">time_zone_names_base</a> <span class="special">{</span>
<span class="keyword">public</span><span class="special">:</span>
  <span class="comment">// types</span>
  <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special">&lt;</span> <span class="identifier">CharT</span> <span class="special">&gt;</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1time__zone__names__base_1af736aa29a1f9a10f3a22337a3ec0bdf0"></a><span class="identifier">string_type</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="classboost_1_1date__time_1_1time__zone__names__base.html#id-1_3_11_15_3_57_1_1_2_5-bb">public member functions</a></span>
  <a class="link" href="classboost_1_1date__time_1_1time__zone__names__base.html#doxygen.date_time_reference.classboost_1_1date__time_1_1time__zone__names__base_1a3853c7280f3eee333ea8fba8fb6a8fa4"><span class="identifier">time_zone_names_base</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="classboost_1_1date__time_1_1time__zone__names__base.html#doxygen.date_time_reference.classboost_1_1date__time_1_1time__zone__names__base_1a2cf3127a849e97f9a5ee70adbcd3a84e"><span class="identifier">time_zone_names_base</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span><span class="special">,</span> 
                       <span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="identifier">string_type</span> <a class="link" href="classboost_1_1date__time_1_1time__zone__names__base.html#doxygen.date_time_reference.classboost_1_1date__time_1_1time__zone__names__base_1aa97eebcf854607718becd3c398ab83f9"><span class="identifier">dst_zone_abbrev</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">string_type</span> <a class="link" href="classboost_1_1date__time_1_1time__zone__names__base.html#doxygen.date_time_reference.classboost_1_1date__time_1_1time__zone__names__base_1a367fdca494fc9ad397a0544daaf64b86"><span class="identifier">std_zone_abbrev</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">string_type</span> <a class="link" href="classboost_1_1date__time_1_1time__zone__names__base.html#doxygen.date_time_reference.classboost_1_1date__time_1_1time__zone__names__base_1ab7aa48c7fea658ad65a4c4b93a1c349b"><span class="identifier">dst_zone_name</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">string_type</span> <a class="link" href="classboost_1_1date__time_1_1time__zone__names__base.html#doxygen.date_time_reference.classboost_1_1date__time_1_1time__zone__names__base_1a5f971c035925a05f89b4c6526d0dbd45"><span class="identifier">std_zone_name</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id-1.3.11.15.3.56.4.4"></a><h2>Description</h2>
<p>Class that holds various types of strings used for timezones. For example, for the western United States there is the full name: Pacific Standard Time and the abbreviated name: PST. During daylight savings there are additional names: Pacific Daylight Time and PDT. 
</p>
<div class="refsect2">
<a name="id-1.3.11.15.3.56.4.4.3"></a><h3>Template Parameters</h3>
<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem">
<pre class="literallayout"><span class="keyword">typename</span> CharT</pre>
<p>Allows class to support different character types </p>
</li></ol></div>
</div>
<div class="refsect2">
<a name="id-1.3.11.15.3.56.4.4.4"></a><h3>
<a name="id-1_3_11_15_3_57_1_1_2_5-bb"></a><code class="computeroutput">time_zone_names_base</code> public member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><pre class="literallayout"><a name="doxygen.date_time_reference.classboost_1_1date__time_1_1time__zone__names__base_1a3853c7280f3eee333ea8fba8fb6a8fa4"></a><span class="identifier">time_zone_names_base</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="doxygen.date_time_reference.classboost_1_1date__time_1_1time__zone__names__base_1a2cf3127a849e97f9a5ee70adbcd3a84e"></a><span class="identifier">time_zone_names_base</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span> std_zone_name_str<span class="special">,</span> 
                     <span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span> std_zone_abbrev_str<span class="special">,</span> 
                     <span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span> dst_zone_name_str<span class="special">,</span> 
                     <span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span> dst_zone_abbrev_str<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">string_type</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1time__zone__names__base_1aa97eebcf854607718becd3c398ab83f9"></a><span class="identifier">dst_zone_abbrev</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">string_type</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1time__zone__names__base_1a367fdca494fc9ad397a0544daaf64b86"></a><span class="identifier">std_zone_abbrev</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">string_type</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1time__zone__names__base_1ab7aa48c7fea658ad65a4c4b93a1c349b"></a><span class="identifier">dst_zone_name</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">string_type</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1time__zone__names__base_1a5f971c035925a05f89b4c6526d0dbd45"></a><span class="identifier">std_zone_name</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
</ol></div>
</div>
</div>
</div>
<div class="copyright-footer">Copyright © 2001-2005 CrystalClear Software, Inc<p>Subject to the Boost Software License, Version 1.0. (See accompanying file
    <code class="filename">LICENSE_1_0.txt</code> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)</p>
</div>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="structboost_1_1date__time_1_1default__zone__names.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../date_time/doxy.html#doxygen.date_time_reference.time__zone__names_8hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="classboost_1_1date__time_1_1bad__field__count.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
